/*
 * @Author: NtyAaron
 * @Date: 2021-04-10 19:06:59
 * @LastEditors: NtyAaron
 * @LastEditTime: 2021-04-10 19:55:56
 * @Description: 关于页面api
 * @FilePath: \dwq\api\kit\kit.js
 */

import request from '../../utils/request'

// 获取问题列表（不分页）
export const getQuestionList = (e) => {
  return request({
    url: `/question/getQuestionList?language=${e.status}&type=${e.type}`,
  })
}

// 获取问题详情
export const getQuestion = (e) => {
  return request({
    url: `/question/getQuestion?questionId=${e}`,
  })
}

// 获取答案详情
export const getAnswerList = (e) => {
  return request({
    url: `/question/getAnswerList?questionId=${e}`,
  })
}
